let http = require("http");
let fs = require("fs");

http.createServer((req , res) => {
    let reader = fs.createReadStream("data.txt");
    reader.pipe(res);
}).listen(3000); 